<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->


<%@ page contentType="text/html;charset=UTF-8" %>

<html >
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="shortcut icon" href="${resource(dir:'images',file:'icoccevents.ico')}" type="image/x-icon" />
    <link rel="stylesheet" href="${resource(dir:'css',file:'style.css')}" />
    <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
    <link rel="shortcut icon" href="${resource(dir:'images',file:'icoccevents.ico')}" type="image/x-icon" />
    <g:javascript library="application" />
    <title>...:::ccEventes:::...</title>

  </head>
  <body >

    <div id="geral">
      <div id="cabecalho">
        <a href="http://localhost:80/ccevents">
          <embed src="${resource(dir:'images',file:'topo.swf')}" quality=high pluginspage="http://localhost/ccevents" width="796px" height="176px" />
        </a>
      </div>

      <div id="menu" align="right">
        <span class="fonterodape"> <b> <a href="${createLink(action:'login',controller:'usuario')}"> <img src="${resource(dir:'images',file:'entrar.gif')}" alt="Entrar" border="0" width="25px"  />Entrar no ccEvents </a> &emsp;|&emsp; <a href="/ccevents/projetoisi.gsp"> Projeto ISI </a>&emsp;|&emsp; <a href="/ccevents/equipe.gsp"> Equipe</a> </b> &emsp; </span>
      </div>
      <div id="meio">
        <div id="esquerda">

           <div id="menu2">
           <ul>
      <li> <b><a href="/ccevents" >Página Principal</a></b></li>
      <li> <b><a href="#">Últimas Notícias</a></b></li>
      <li><b><a href="#">Fotos</a></b></li>
      <li><b><a href="#">Videos</a></b></li>
      <li><b><a href="#">Infográficos</a</b></li>
      <li><b><a href="#">Fórum Tecnologia</a></b></li>
      <li><b><a href="#">Enquetes</a></b></li>
      <li><b><a href="#">Blogs e Colunas</a></b></li>
      <li><b><a href="#">Dicas</a></b></li>
      <li><b><a href="#">Dicionários</a></b></li>
      <li><b><a href="#">Donwloads</a></b></li>
      <li><b><a href="#">Mercado e Carreira de TI</a></b></li>
      <li><b><a href="#">TI Verde</a></b></li>
      <li><b><a href="#">Programação</a></b></li>
      <li><b><a href="#">Segurança</a></b></li>

           </ul>
           <script src="http://g1.globo.com/Portal/globonoticias/js/addNewsVertical.js" type="text/javascript"></script>
<a href="http://g1.globo.com" class="bt2" title="G1 - o portal de notícias da Globo" target="blank">www.g1.com.br</a>
              <br>
           </div>
        </div>
        <div id="escopo">
     
            <h1><g:message code="default.create.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${usuarioInstance}">
            <div class="errors">
                <g:renderErrors bean="${usuarioInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form action="handleRegistration" method="post" >
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="bairro"><g:message code="usuario.bairro.label" default="Bairro" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: usuarioInstance, field: 'bairro', 'errors')}">
                                    <g:textField name="bairro" value="${usuarioInstance?.bairro}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="cep"><g:message code="usuario.cep.label" default="Cep" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: usuarioInstance, field: 'cep', 'errors')}">
                                    <g:textField name="cep" value="${usuarioInstance?.cep}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="cidade"><g:message code="usuario.cidade.label" default="Cidade" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: usuarioInstance, field: 'cidade', 'errors')}">
                                    <g:textField name="cidade" value="${usuarioInstance?.cidade}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="complemento"><g:message code="usuario.complemento.label" default="Complemento" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: usuarioInstance, field: 'complemento', 'errors')}">
                                    <g:textField name="complemento" value="${usuarioInstance?.complemento}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="documento"><g:message code="usuario.documento.label" default="Documento" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: usuarioInstance, field: 'documento', 'errors')}">
                                    <g:textField name="documento" value="${usuarioInstance?.documento}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="email"><g:message code="usuario.email.label" default="Email" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: usuarioInstance, field: 'email', 'errors')}">
                                    <g:textField name="email" value="${usuarioInstance?.email}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="idPerfilFace"><g:message code="usuario.idPerfilFace.label" default="Id Perfil Face" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: usuarioInstance, field: 'idPerfilFace', 'errors')}">
                                    <g:textField name="idPerfilFace" value="${usuarioInstance?.idPerfilFace}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="logradouro"><g:message code="usuario.logradouro.label" default="Logradouro" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: usuarioInstance, field: 'logradouro', 'errors')}">
                                    <g:textField name="logradouro" value="${usuarioInstance?.logradouro}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="nome"><g:message code="usuario.nome.label" default="Nome" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: usuarioInstance, field: 'nome', 'errors')}">
                                    <g:textField name="nome" value="${usuarioInstance?.nome}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="numero"><g:message code="usuario.numero.label" default="Numero" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: usuarioInstance, field: 'numero', 'errors')}">
                                    <g:textField name="numero" value="${usuarioInstance?.numero}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="senha"><g:message code="usuario.senha.label" default="Senha" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: usuarioInstance, field: 'senha', 'errors')}">
                                    <g:textField name="senha" value="${usuarioInstance?.senha}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="uf"><g:message code="usuario.uf.label" default="Uf" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: usuarioInstance, field: 'uf', 'errors')}">
                                    <g:textField name="uf" value="${usuarioInstance?.uf}" />
                                </td>
                            </tr>
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /></span>
                </div>
            </g:form>
        </div>
        <div id="direita">
<center><br><table width="164" cellpadding="2" cellspacing="1"  bgcolor="#ffffff">
 <tr bgcolor="#0066cc"><td align="center"><div style="font-size:13px; padding: 2px; color:#ffffff; font-family:Arial, Sans-Serif;"><b>Quem é o Nerd da turma 2008.2?</b></div></td></tr>
 <tr bgcolor="#1E90FF"><td align=center><a href="#" onclick="window.open('http://www.viaki.com/home/enquete/vote.php?id=18863&v=1&','umfrageergebnis','width=500,height=410 ,scrollbars=yes, resizable=yes, menubar=no, location=no, alwaysRaised=no');"> <font style="text-decoration: none; font-size:13px" color="#ffffff" face="Arial, Sans-Serif"> Diego Nerd </font> </a></td></tr>
 <tr bgcolor="#1E90FF"><td align=center><a href="#" onclick="window.open('http://www.viaki.com/home/enquete/vote.php?id=18863&v=2&','umfrageergebnis','width=500,height=410 ,scrollbars=yes, resizable=yes, menubar=no, location=no, alwaysRaised=no');"> <font style="text-decoration: none; font-size:13px" color="#ffffff" face="Arial, Sans-Serif"> César </font> </a></td></tr>
 <tr bgcolor="#1E90FF"><td align=center><a href="#" onclick="window.open('http://www.viaki.com/home/enquete/vote.php?id=18863&v=3&','umfrageergebnis','width=500,height=410 ,scrollbars=yes, resizable=yes, menubar=no, location=no, alwaysRaised=no');"> <font style="text-decoration: none; font-size:13px" color="#ffffff" face="Arial, Sans-Serif"> Danilo </font> </a></td></tr>
 <tr bgcolor="#1E90FF"><td align=center><a href="#" onclick="window.open('http://www.viaki.com/home/enquete/vote.php?id=18863&v=4&','umfrageergebnis','width=500,height=410 ,scrollbars=yes, resizable=yes, menubar=no, location=no, alwaysRaised=no');"> <font style="text-decoration: none; font-size:13px" color="#ffffff" face="Arial, Sans-Serif"> Marola </font> </a></td></tr>
 <tr bgcolor="#1E90FF"><td align=center><a href="#" onclick="window.open('http://www.viaki.com/home/enquete/vote.php?id=18863&v=5&','umfrageergebnis','width=500,height=410 ,scrollbars=yes, resizable=yes, menubar=no, location=no, alwaysRaised=no');"> <font style="text-decoration: none; font-size:13px" color="#ffffff" face="Arial, Sans-Serif"> Edson </font> </a></td></tr>
 <tr bgcolor="#0066cc"><td align=center><a href="#" onclick="window.open('http://www.viaki.com/home/enquete/show.php?id=018863','umfrageergebnis','width=500,height=410,resizable=yes');"> <div style="font-size:12px; padding: 4px; color:#ffffff; font-family: Arial, Sans-Serif;"><b>Resultado</b></div></a></td></tr>
</table></center>
        <br>

        <center><table table width="164" cellpadding="2" cellspacing="1" >
          <tr>
            <td><font color="#fff"><b>PATROCINADOR:</b></font> <br> </td>
          </tr>
          <tr>

          </tr>
          <tr>
            <td><a href="http://www.upe.br"> <img src="${resource(dir:'images/patrocinadores',file:'upe.jpg')}" width="148px" height="98px"> </a> </td>
          </tr>
        </table></center>
        <center> <br><script type="text/javascript">
          <!--
          google_ad_client = "ca-pub-4771472804305488";
        /* Apoio */
          google_ad_slot = "0760746889";
          google_ad_width = 120;
          google_ad_height = 240;
          //-->
          </script>
          <script type="text/javascript"
          src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
          </script> </center>
        </div>

      </div>

      <div id="rodape" align="center">
          <span class="fonterodape">Desenvolvido pela <b><a href="http://www.google.com.br"> CC S/A </a></b>- Direitos Reservados / Projeto da <a href="http://www.upe.br"> <b>Universidade de Pernambuco</b> </a> </span>
        </div>
      </div>
    
    </body>
</html>
